/************************************************************************************

* Entry point 

* @param params Input parameters as javax.ws.rs.core.MultivaluedMap<String, String>
* @param hh Headers informations as javax.ws.rs.core.HttpHeaders
* @param ui Uri informations as javax.ws.rs.core.UriInfo
*************************************************************************************/
//includeScriptlet( "system:airship");

function main( params, hh, ui)
{
	
	try {
		
		if( push_alert( "admin", "test from sabina 6",  6) ) {			
			return "alert sent!"
		}
		
	} catch( e ) {
		Log.error( "push_alert error" + e.message);
	}
	
	return "error sending alert";
}
